package net.sx.minemodule.mvp.presenters;

import com.kedll.library.mvp.BasePresenter;

import net.sx.minemodule.MineApiUtils;
import net.sx.minemodule.mvp.views.MineWithDrawView;

/**
 * @author 11470
 */
public class MineWithDrawPresenter extends BasePresenter<MineWithDrawView> {

    public MineWithDrawPresenter(MineWithDrawView view) {
        super(view);
    }

    /**
     * @param money
     * @param type  0微信，1支付宝，2银行卡
     * @param bank
     */
    public void toWithDraw(String money, String type, String bank) {

        MineApiUtils.toWithDraw(money, type, bank, jsonObject -> {

        }, throwable -> {
        });
    }
}
